home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 6c 61 6e 67 2e 63 2b | 2b 2c 63 6f 6d 70 2e 6c |.lang.c+|+,comp.l|
|00000020| 61 6e 67 2e 63 2c 63 6f | 6d 70 2e 61 72 63 68 2c |ang.c,co|mp.arch,|
|00000030| 63 6f 6d 70 2e 61 72 63 | 68 2e 65 6d 62 65 64 64 |comp.arc|h.embedd|
|00000040| 65 64 0a 50 61 74 68 3a | 20 6e 65 77 73 2e 65 6e |ed.Path:| news.en|
|00000050| 67 2e 63 6f 6e 76 65 78 | 2e 63 6f 6d 21 61 72 63 |g.convex|.com!arc|
|00000060| 6f 21 75 73 65 6e 65 74 | 0a 46 72 6f 6d 3a 20 42 |o!usenet|.From: B|
|00000070| 72 69 61 6e 20 4c 65 61 | 63 68 20 3c 6c 61 73 62 |rian Lea|ch <lasb|
|00000080| 66 6c 3e 0a 53 75 62 6a | 65 63 74 3a 20 52 65 3a |fl>.Subj|ect: Re:|
|00000090| 20 43 2b 2b 20 2d 3e 20 | 43 20 63 6f 6d 70 69 6c | C++ -> |C compil|
|000000a0| 65 72 0a 58 2d 4e 6e 74 | 70 2d 50 6f 73 74 69 6e |er.X-Nnt|p-Postin|
|000000b0| 67 2d 48 6f 73 74 3a 20 | 31 33 36 2e 32 32 36 2e |g-Host: |136.226.|
|000000c0| 31 31 36 2e 31 0a 43 6f | 6e 74 65 6e 74 2d 54 79 |116.1.Co|ntent-Ty|
|000000d0| 70 65 3a 20 74 65 78 74 | 2f 70 6c 61 69 6e 3b 20 |pe: text|/plain; |
|000000e0| 63 68 61 72 73 65 74 3d | 75 73 2d 61 73 63 69 69 |charset=|us-ascii|
|000000f0| 0a 4d 65 73 73 61 67 65 | 2d 49 44 3a 20 3c 44 6e |.Message|-ID: <Dn|
|00000100| 79 6f 44 42 2e 34 32 4c | 40 6e 65 77 73 2e 61 72 |yoDB.42L|@news.ar|
|00000110| 63 6f 2e 63 6f 6d 3e 0a | 54 6f 3a 20 74 61 6e 6d |co.com>.|To: tanm|
|00000120| 6f 79 40 71 63 64 2e 6c | 61 6e 6c 2e 67 6f 76 0a |oy@qcd.l|anl.gov.|
|00000130| 53 65 6e 64 65 72 3a 20 | 75 73 65 6e 65 74 40 6e |Sender: |usenet@n|
|00000140| 65 77 73 2e 61 72 63 6f | 2e 63 6f 6d 0a 43 6f 6e |ews.arco|.com.Con|
|00000150| 74 65 6e 74 2d 54 72 61 | 6e 73 66 65 72 2d 45 6e |tent-Tra|nsfer-En|
|00000160| 63 6f 64 69 6e 67 3a 20 | 37 62 69 74 0a 4f 72 67 |coding: |7bit.Org|
|00000170| 61 6e 69 7a 61 74 69 6f | 6e 3a 20 41 52 43 4f 20 |anizatio|n: ARCO |
|00000180| 4f 69 6c 20 25 20 47 61 | 73 20 43 6f 6d 70 61 6e |Oil % Ga|s Compan|
|00000190| 79 0a 52 65 66 65 72 65 | 6e 63 65 73 3a 20 3c 33 |y.Refere|nces: <3|
|000001a0| 31 33 43 38 46 45 39 2e | 31 45 45 31 40 69 61 73 |13C8FE9.|1EE1@ias|
|000001b0| 74 61 74 65 2e 65 64 75 | 3e 20 3c 34 68 68 74 70 |tate.edu|> <4hhtp|
|000001c0| 69 49 4e 4e 34 68 39 40 | 6b 65 61 74 73 2e 75 67 |iINN4h9@|keats.ug|
|000001d0| 72 61 64 2e 63 73 2e 75 | 62 63 2e 63 61 3e 20 3c |rad.cs.u|bc.ca> <|
|000001e0| 54 41 4e 4d 4f 59 2e 39 | 36 4d 61 72 35 31 35 31 |TANMOY.9|6Mar5151|
|000001f0| 37 31 35 40 71 63 64 2e | 6c 61 6e 6c 2e 67 6f 76 |715@qcd.|lanl.gov|
|00000200| 3e 0a 4d 69 6d 65 2d 56 | 65 72 73 69 6f 6e 3a 20 |>.Mime-V|ersion: |
|00000210| 31 2e 30 0a 44 61 74 65 | 3a 20 46 72 69 2c 20 38 |1.0.Date|: Fri, 8|
|00000220| 20 4d 61 72 20 31 39 39 | 36 20 31 38 3a 32 32 3a | Mar 199|6 18:22:|
|00000230| 32 32 20 47 4d 54 0a 58 | 2d 4d 61 69 6c 65 72 3a |22 GMT.X|-Mailer:|
|00000240| 20 4d 6f 7a 69 6c 6c 61 | 20 31 2e 31 32 20 28 58 | Mozilla| 1.12 (X|
|00000250| 31 31 3b 20 49 3b 20 48 | 50 2d 55 58 20 41 2e 30 |11; I; H|P-UX A.0|
|00000260| 39 2e 30 35 20 39 30 30 | 30 2f 37 35 35 29 0a 58 |9.05 900|0/755).X|
|00000270| 2d 55 72 6c 3a 20 6e 65 | 77 73 3a 54 41 4e 4d 4f |-Url: ne|ws:TANMO|
|00000280| 59 2e 39 36 4d 61 72 35 | 31 35 31 37 31 35 40 71 |Y.96Mar5|151715@q|
|00000290| 63 64 2e 6c 61 6e 6c 2e | 67 6f 76 0a 0a 74 61 6e |cd.lanl.|gov..tan|
|000002a0| 6d 6f 79 40 71 63 64 2e | 6c 61 6e 6c 2e 67 6f 76 |moy@qcd.|lanl.gov|
|000002b0| 20 28 54 61 6e 6d 6f 79 | 20 42 68 61 74 74 61 63 | (Tanmoy| Bhattac|
|000002c0| 68 61 72 79 61 29 20 77 | 72 6f 74 65 3a 0a 3e 49 |harya) w|rote:.>I|
|000002d0| 6e 20 61 72 74 69 63 6c | 65 20 3c 34 68 68 74 70 |n articl|e <4hhtp|
|000002e0| 69 49 4e 4e 34 68 39 40 | 6b 65 61 74 73 2e 75 67 |iINN4h9@|keats.ug|
|000002f0| 72 61 64 2e 63 73 2e 75 | 62 63 2e 63 61 3e 0a 3e |rad.cs.u|bc.ca>.>|
|00000300| 63 32 61 31 39 32 40 75 | 67 72 61 64 2e 63 73 2e |c2a192@u|grad.cs.|
|00000310| 75 62 63 2e 63 61 20 28 | 4b 61 7a 69 6d 69 72 20 |ubc.ca (|Kazimir |
|00000320| 4b 79 6c 68 65 6b 75 29 | 20 77 72 69 74 65 73 3a |Kylheku)| writes:|
|00000330| 0a 3e 0a 3e 3c 73 6e 69 | 70 3e 0a 3e 4b 4b 3a 20 |.>.><sni|p>.>KK: |
|00000340| 54 68 69 73 20 68 61 73 | 20 62 65 65 6e 20 64 6f |This has| been do|
|00000350| 6e 65 2e 20 53 6f 6d 65 | 20 27 43 43 27 20 63 6f |ne. Some| 'CC' co|
|00000360| 6d 70 69 6c 65 72 73 20 | 77 6f 72 6b 20 62 79 20 |mpilers |work by |
|00000370| 74 72 61 6e 73 6c 61 74 | 69 6e 67 20 43 2b 2b 20 |translat|ing C++ |
|00000380| 74 6f 20 43 2e 0a 3e 4b | 4b 3a 20 0a 3e 4b 4b 3a |to C..>K|K: .>KK:|
|00000390| 20 68 70 2d 75 78 24 20 | 6d 61 6e 20 43 43 0a 3e | hp-ux$ |man CC.>|
|000003a0| 3c 73 6e 69 70 3e 0a 3e | 4b 4b 3a 20 20 20 20 20 |<snip>.>|KK: |
|000003b0| 20 20 43 43 20 28 63 61 | 70 69 74 61 6c 20 43 43 | CC (ca|pital CC|
|000003c0| 29 20 69 73 20 74 68 65 | 20 48 50 2d 55 58 20 43 |) is the| HP-UX C|
|000003d0| 2b 2b 20 74 72 61 6e 73 | 6c 61 74 6f 72 2f 63 6f |++ trans|lator/co|
|000003e0| 6d 70 69 6c 65 72 2e 20 | 20 49 6e 20 74 72 61 6e |mpiler. | In tran|
|000003f0| 73 6c 61 74 6f 72 0a 3e | 4b 4b 3a 20 20 20 20 20 |slator.>|KK: |
|00000400| 20 20 6d 6f 64 65 20 43 | 43 20 74 72 61 6e 73 6c | mode C|C transl|
|00000410| 61 74 65 73 20 43 2b 2b | 20 73 6f 75 72 63 65 20 |ates C++| source |
|00000420| 63 6f 64 65 20 74 6f 20 | 43 20 73 6f 75 72 63 65 |code to |C source|
|00000430| 20 63 6f 64 65 2e 20 20 | 49 6e 0a 3e 63 6f 6d 70 | code. |In.>comp|
|00000440| 69 6c 65 72 20 6d 6f 64 | 65 20 0a 3e 4b 4b 3a 20 |iler mod|e .>KK: |
|00000450| 20 20 20 20 20 20 43 43 | 20 63 6f 6d 70 69 6c 65 | CC| compile|
|00000460| 73 20 43 2b 2b 20 73 6f | 75 72 63 65 20 63 6f 64 |s C++ so|urce cod|
|00000470| 65 20 64 69 72 65 63 74 | 6c 79 20 74 6f 20 6f 62 |e direct|ly to ob|
|00000480| 6a 65 63 74 20 63 6f 64 | 65 2e 0a 3e 4b 4b 3a 20 |ject cod|e..>KK: |
|00000490| 0a 3e 4b 4b 3a 20 20 20 | 20 20 20 20 54 68 65 20 |.>KK: | The |
|000004a0| 63 6f 6d 6d 61 6e 64 20 | 75 73 65 73 20 63 70 70 |command |uses cpp|
|000004b0| 28 31 29 20 66 6f 72 20 | 70 72 65 70 72 6f 63 65 |(1) for |preproce|
|000004c0| 73 73 69 6e 67 2c 20 63 | 66 72 6f 6e 74 20 66 6f |ssing, c|front fo|
|000004d0| 72 20 73 79 6e 74 61 78 | 20 61 6e 64 20 74 79 70 |r syntax| and typ|
|000004e0| 65 0a 3e 4b 4b 3a 20 20 | 20 20 20 20 20 63 68 65 |e.>KK: | che|
|000004f0| 63 6b 69 6e 67 2c 20 61 | 73 20 77 65 6c 6c 20 61 |cking, a|s well a|
|00000500| 73 20 66 6f 72 20 63 6f | 64 65 20 67 65 6e 65 72 |s for co|de gener|
|00000510| 61 74 69 6f 6e 20 69 6e | 20 63 6f 6d 70 69 6c 65 |ation in| compile|
|00000520| 72 20 6d 6f 64 65 2c 20 | 61 6e 64 20 63 63 28 31 |r mode, |and cc(1|
|00000530| 29 0a 3e 4b 4b 3a 20 20 | 20 20 20 20 20 66 6f 72 |).>KK: | for|
|00000540| 20 63 6f 64 65 20 67 65 | 6e 65 72 61 74 69 6f 6e | code ge|neration|
|00000550| 20 69 6e 20 74 72 61 6e | 73 6c 61 74 6f 72 20 6d | in tran|slator m|
|00000560| 6f 64 65 2e 0a 3e 0a 3e | 48 6f 77 20 64 6f 65 73 |ode..>.>|How does|
|00000570| 20 63 70 70 20 68 61 6e | 64 6c 65 20 74 68 65 20 | cpp han|dle the |
|00000580| 66 6f 6c 6c 6f 77 69 6e | 67 20 63 6f 64 65 3f 20 |followin|g code? |
|00000590| 28 52 65 6d 65 6d 62 65 | 72 20 74 68 69 73 20 69 |(Remembe|r this i|
|000005a0| 73 20 61 20 73 79 6e 74 | 61 78 0a 3e 65 72 72 6f |s a synt|ax.>erro|
|000005b0| 72 20 69 6e 20 43 2c 20 | 61 6e 64 20 69 73 20 65 |r in C, |and is e|
|000005c0| 71 75 69 76 61 6c 65 6e | 74 20 74 6f 20 6a 75 6e |quivalen|t to jun|
|000005d0| 6b 20 3d 20 73 6f 6d 65 | 74 6f 6b 65 6e 20 2d 20 |k = some|token - |
|000005e0| 33 20 2b 20 33 20 69 6e | 20 43 2b 2b 2e 20 57 68 |3 + 3 in| C++. Wh|
|000005f0| 61 74 0a 3e 49 20 61 6d | 20 61 66 72 61 69 64 20 |at.>I am| afraid |
|00000600| 69 73 20 79 6f 75 72 20 | 63 6f 6d 70 69 6c 65 72 |is your |compiler|
|00000610| 20 6d 69 67 68 74 20 63 | 6f 6d 70 69 6c 65 20 69 | might c|ompile i|
|00000620| 74 20 74 6f 20 6a 75 6e | 6b 20 3d 20 73 6f 6d 65 |t to jun|k = some|
|00000630| 74 6f 6b 65 6e 20 2b 20 | 33 2e 29 0a 3e 0a 3e 0a |token + |3.).>.>.|
|00000640| 3e 23 64 65 66 69 6e 65 | 20 6d 79 74 6f 6b 65 6e |>#define| mytoken|
|00000650| 20 73 6f 6d 65 74 6f 6b | 65 6e 20 2f 2f 20 61 20 | sometok|en // a |
|00000660| 63 6f 6d 6d 65 6e 74 0a | 3e 0a 3e 6a 75 6e 6b 20 |comment.|>.>junk |
|00000670| 3d 20 6d 79 74 6f 6b 65 | 6e 20 2d 20 33 0a 3e 20 |= mytoke|n - 3.> |
|00000680| 20 20 20 20 20 20 20 20 | 20 20 2b 20 33 3b 0a 3e | | + 3;.>|
|00000690| 0a 3e 4f 72 20 64 6f 65 | 73 20 63 70 70 20 68 61 |.>Or doe|s cpp ha|
|000006a0| 76 65 20 61 20 43 20 6d | 6f 64 65 20 61 6e 64 20 |ve a C m|ode and |
|000006b0| 61 20 43 2b 2b 20 6d 6f | 64 65 3f 0a 3e 0a 3e 43 |a C++ mo|de?.>.>C|
|000006c0| 68 65 65 72 73 0a 3e 54 | 61 6e 6d 6f 79 0a 3e 2d |heers.>T|anmoy.>-|
|000006d0| 2d 0a 49 66 20 74 68 65 | 20 66 69 6c 65 20 6e 61 |-.If the| file na|
|000006e0| 6d 65 20 65 6e 64 73 20 | 77 69 74 68 20 27 2e 63 |me ends |with '.c|
|000006f0| 27 2c 20 69 74 20 75 73 | 65 73 20 61 20 63 20 6d |', it us|es a c m|
|00000700| 6f 64 65 20 63 6f 6d 70 | 69 6c 65 72 20 61 6e 64 |ode comp|iler and|
|00000710| 20 79 6f 75 20 67 65 74 | 20 74 68 65 0a 65 72 72 | you get| the.err|
|00000720| 6f 72 2e 20 54 68 65 20 | 74 72 61 6e 73 6c 61 74 |or. The |translat|
|00000730| 6f 72 20 77 69 6c 6c 20 | 74 61 6b 65 20 43 2b 2b |or will |take C++|
|00000740| 20 63 6f 64 65 20 61 6e | 64 20 63 6f 6e 76 65 72 | code an|d conver|
|00000750| 74 20 69 74 20 74 6f 20 | 6c 65 67 61 6c 20 43 20 |t it to |legal C |
|00000760| 63 6f 64 65 2e 0a 41 6c | 6c 20 63 6f 6d 6d 65 6e |code..Al|l commen|
|00000770| 74 73 20 61 72 65 20 72 | 65 6d 6f 76 65 64 2c 20 |ts are r|emoved, |
|00000780| 74 68 65 20 72 65 73 75 | 6c 74 69 6e 67 20 63 6f |the resu|lting co|
|00000790| 64 65 20 69 73 20 76 65 | 72 79 2c 20 76 65 72 79 |de is ve|ry, very|
|000007a0| 2c 20 75 67 6c 79 2e 20 | 43 2b 2b 20 63 6f 64 65 |, ugly. |C++ code|
|000007b0| 0a 69 73 20 69 64 65 6e | 74 69 66 69 65 64 20 62 |.is iden|tified b|
|000007c0| 79 20 66 69 6c 65 73 20 | 65 6e 64 69 6e 67 20 77 |y files |ending w|
|000007d0| 69 74 68 20 27 2e 43 27 | 0a 0a 2d 42 72 69 61 6e |ith '.C'|..-Brian|
|000007e0| 20 3a 2d 29 0a 2d 2d 20 | 0a 42 72 69 61 6e 20 46 | :-).-- |.Brian F|
|000007f0| 2e 20 4c 65 61 63 68 0a | 53 72 2e 20 53 79 73 74 |. Leach.|Sr. Syst|
|00000800| 65 6d 73 20 41 6e 61 6c | 79 73 74 0a 6c 61 73 62 |ems Anal|yst.lasb|
|00000810| 66 6c 40 61 61 69 2e 61 | 72 63 6f 2e 63 6f 6d 0a |fl@aai.a|rco.com.|
|00000820| 0a 54 65 6c 65 70 68 6f | 6e 65 3a 09 28 39 30 37 |.Telepho|ne:.(907|
|00000830| 29 20 32 36 33 2d 34 38 | 36 30 0a 46 41 58 3a 09 |) 263-48|60.FAX:.|
|00000840| 09 28 39 30 37 29 20 32 | 36 35 2d 36 32 39 38 0a |.(907) 2|65-6298.|
|00000850| 0a 41 52 43 4f 20 41 6c | 61 73 6b 61 2c 20 49 6e |.ARCO Al|aska, In|
|00000860| 63 2e 0a 41 54 4f 2d 31 | 36 35 36 0a 50 2e 4f 2e |c..ATO-1|656.P.O.|
|00000870| 20 42 6f 78 20 31 30 30 | 33 36 30 0a 41 6e 63 68 | Box 100|360.Anch|
|00000880| 6f 72 61 67 65 2c 20 41 | 4b 20 39 39 35 31 30 2d |orage, A|K 99510-|
|00000890| 30 33 36 30 0a 0a | |0360.. | |
+--------+-------------------------+-------------------------+--------+--------+